﻿using System;
using System.IO;

namespace Accountant.DataModel
{
  public static class BinaryReaderExt
  {
    public static DateTime ReadDateTime(this BinaryReader reader)
    {
      return new DateTime(reader.ReadInt64());
    }
  }
}